package com.legrand.user.service;


import com.baomidou.mybatisplus.service.IService;
import com.legrand.core.entity.User;
import com.legrand.core.util.BaseResponse;
import com.legrand.user.dto.UserNamePasswordDTO;

/**
 * @author xiah
 * 2018-07-10 10:04:06
 */
public interface UserService extends IService<User> {
    User getTeacher();

    BaseResponse getByUserName(String userName);

    BaseResponse registerByUserNameAndPassword(UserNamePasswordDTO userNamePasswordDTO);

    BaseResponse loginByUserNameAndPassword(UserNamePasswordDTO userNamePasswordDTO);
}
